package com.google.wave.poppy;

import java.util.logging.Level;
import java.util.logging.Logger;

import com.google.wave.api.AbstractRobotServlet;
import com.google.wave.api.RobotMessageBundle;

/**
 * 
 *
 * @author prathapnirmal@gmail.com (Prathap Natarajan)
 */
public class PoppyUpdateServlet extends AbstractRobotServlet {

  private static final Logger LOG = Logger.getLogger(PoppyUpdateServlet.class.getName());

  @Override
  public void processEvents(RobotMessageBundle robotMessageBundle) {

	  // LOG.warning("This is a warning");
	  LOG.info("ProcessEvents called:" + robotMessageBundle);
	  LOG.info("ProcessEvents called wavelet = :" + robotMessageBundle.getWavelet());
	  LOG.info("ProcessEvents called events size:" + robotMessageBundle.getEvents().size());
  }

}